// 封装首页请求

import request from '@/utils/request.js'
/**
 *  获取轮播数据
 * @returns promise
 */
export function getSwiper () {
  return request({
    url: '/home/swiper'
  })
}
/**
 * 获取租房小组内容数据
 * @returns promise
 */
export function getHireHouse () {
  return request({
    url: '/home/groups'

  })
}
